-- GENERATED SPELL FOR [Gorehoof the Black] --


function spell0_11914(pUnit, Event) --@War Stomp,Self--
pUnit:FullCastSpellOnTarget(45,pUnit)
pUnit:RegisterEvent('Sorts_11914', 571, 1)
end

function Sorts_11914(pUnit, Event)
local choix_sorts_11914 = math.random(0, 0)
if choix_sorts_11914 == 0 then
pUnit:RegisterEvent('spell0_11914', 1, 1)
end
end

function mob11914_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11914', math.random(1500, 3000), 1)
end

function mob11914_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11914_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11914_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11914, 1, 'mob11914_Action')
RegisterUnitEvent(11914, 2, 'mob11914_Leave')
RegisterUnitEvent(11914, 3, 'mob11914_Kill')
RegisterUnitEvent(11914, 4, 'mob11914_Die')
